<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><% model(2); %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.selectboxes.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="general.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		load_body();
	});
</script>
</head>
<body>
<form method="get" name="form" id="form" action="apply.cgi">
<input type="hidden" name="current_page" value="ddns.asp" />
<input type="hidden" name="next_page" value="saverestart.asp" />
<input type="hidden" name="next_host" value="" />
<input type="hidden" name="group_id" value="" />
<input type="hidden" name="modified" value="0" />
<input type="hidden" name="action_mode" value="" />
<input type="hidden" name="first_time" value="" />
<input type="hidden" name="action_script" value="" />

<table width="666" border="1" cellpadding="0" cellspacing="0" bordercolor="#E0E0E0">
<tr class="content_header_tr">
<td class="content_header_td_title" colspan="2">IP Config - Miscellaneous</td>
</tr>
<tr>
<td class="content_header_td" title="If you enable UPnP, your the router will be found automatically by systems, such as Windows XP. And it allows these systems to automatically configure the router for various Internet applications, such as gaming and videoconferencing.">Enable UPnP?</td>
<td class="content_input_td"><select name="upnp_enable" class="content_input_fd" onchange="return change_common(this, 'LANHostConfig', 'upnp_enable')">
<option class="content_input_fd" value="0" <% nvram_match("upnp_enable","0","selected"); %>>No</option>
<option class="content_input_fd" value="1" <% nvram_match("upnp_enable","1","selected"); %>>UPnP</option>
<option class="content_input_fd" value="2" <% nvram_match("upnp_enable","2","selected"); %>>NAT-PMP</option>
<option class="content_input_fd" value="3" <% nvram_match("upnp_enable","3","selected"); %>>Both</option>
</select></td>
</tr>
<tr>
<td class="content_header_td" title="This field indicates the port number used by IPTV proxy. Set to 0 to disable">Multicast to HTTP Proxy Port:</td>
<td class="content_input_td">
	<input type="text" maxlength="5" size="5" name="udpxy_enable_x" class="content_input_fd" value="<% nvram_get("udpxy_enable_x"); %>" onBlur="validate_range(this, 0, 65535)" onKeyPress="return is_number(event, this)" /> (0 - disabled)</input>
	<input type="checkbox" style="margin-left:30" name="udpxy_wan_check" value="" onClick="return change_common_radio(this, 'LANHostConfig', 'udpxy_wan', '1')">Enable access from WAN</input>
	<input type="hidden" name="udpxy_wan_x" value="<% nvram_get("udpxy_wan_x"); %>" />
</td>
</tr>
<tr>
<td class="content_header_td" title="This field enables efficient multicast streams forwarding to reduce the bandwidth utilization and latency">Efficient Multicast Forwarding:</td>
<td class="content_input_td">
	<input type="radio" value="1" name="emf_enable" class="content_input_fd" onClick="return change_common_radio(this, 'LANHostConfig', 'emf_enable', '1')" <% nvram_match("emf_enable", "1", "checked"); %>>Enabled</input>
	<input type="radio" value="0" name="emf_enable" class="content_input_fd" onClick="return change_common_radio(this, 'LANHostConfig', 'emf_enable', '0')" <% nvram_match("emf_enable", "0", "checked"); %>>Disabled</input>
</td>
</tr>
<tr>
<td class="content_header_td" title="This feature allows you to assign a remote server to record log messages of the router. If you leave it blank, system will record up to 1024 mesages on the router only.">Remote Log Server:
           </td><td class="content_input_td"><input type="text" maxlength="15" class="content_input_fd" size="15" name="log_ipaddr" value="<% nvram_get("log_ipaddr"); %>" onBlur="return validate_ipaddr(this, 'log_ipaddr')" onKeyPress="return is_ipaddr(event, this)" onKeyUp="change_ipaddr(this)" /></td>
</tr>
<tr>
<td class="content_header_td" title="This field indicates time zone where you are locating in.">Time Zone:
           </td><td class="content_input_td"><select name="TimeZoneList" class="content_input_fd" onChange="return change_common(this, 'LANHostConfig', 'time_zone')"><option class="content_input_fd" value="manual">Manual</option></select></td>
</tr>
<tr>
<td class="content_header_td" title="This field indicates time zone where you are locating in.">Time Zone Abbreviation:
	   </td><td class="content_input_td"><input type="text" maxlength="256" class="content_input_fd" size="32" name="time_zone" value="<% nvram_get("time_zone"); %>" onKeyPress="return is_string(event, this)" onBlur="validate_string(this)" /></td>
</tr>
<tr>
<td class="content_header_td" title="The NTP Server used to synchronize your system time.">NTP Server
           </td><td class="content_input_td"><input type="text" maxlength="256" class="content_input_fd" size="32" name="ntp_server0" value="<% nvram_get("ntp_server0"); %>" onKeyPress="return is_string(event, this)" onBlur="validate_string(this)" /><a href="javascript:openLink('x_NTPServer1')" class="content_input_link" name="x_NTPServer1_link">NTP Link
             </a></td>
</tr>
<tr>
<td class="content_header_td" title="This field specifies interval between time synchronization requests.">NTP synchronization interval (hours):
           </td><td class="content_input_td"><input type="text" maxlength="3" size="3" name="ntp_interval_x" class="content_input_fd" value="<% nvram_get("ntp_interval_x"); %>" onBlur="validate_range(this, 1, 144)" onKeyPress="return is_number(event, this)" /></td>
</tr>
<tr class="content_section_header_tr">
<td class="content_section_header_td" colspan="2">Dynamic DNS
            </td>
</tr>
<tr>
<td class="content_desc_td" colspan="2">Dynamic DNS (DDNS) allows you to export your server to Internet with an unique name, even though you have no static IP address. Currently, several DDNS services are supported by the router. You can click Register below to sign up for DDNS service.
         </td>
</tr>
<tr>
<td class="content_header_td">Enable the DDNS Client?
           </td><td class="content_input_td"><input type="radio" value="1" name="ddns_enable_x" class="content_input_fd" onClick="return change_common_radio(this, 'LANHostConfig', 'ddns_enable_x', '1')" <% nvram_match("ddns_enable_x", "1", "checked"); %>>Yes</input><input type="radio" value="0" name="ddns_enable_x" class="content_input_fd" onClick="return change_common_radio(this, 'LANHostConfig', 'ddns_enable_x', '0')" <% nvram_match("ddns_enable_x", "0", "checked"); %>>No</input></td>
</tr>
<tr>
<td class="content_header_td" title="This field determines if dynamic dns service has to autodetect public IP address.">Autodetect public IP address?
           </td><td class="content_input_td">
<select name="ddns_realip_x" class="content_input_fd" onchange="return change_common(this, 'LANHostConfig', 'ddns_realip_x')">
<option class="content_input_fd" value="0" <% nvram_match("ddns_realip_x","0","selected"); %>>Yes</option>
<option class="content_input_fd" value="1" <% nvram_match("ddns_realip_x","1","selected"); %>>No, report WAN address</option>
<option class="content_input_fd" value="2" <% nvram_match("ddns_realip_x","2","selected"); %>>No, report MAN address</option>
</select>
</td>
</tr>
<tr>
<td class="content_header_td">Server:
           </td><td class="content_input_td"><select name="ddns_server_x" class="content_input_fd" onChange="return change_common(this, 'LANHostConfig', 'ddns_server_x')">
		<option class="content_input_fd" value="default@changeip.com" <% nvram_match("ddns_server_x", "default@changeip.com","selected"); %>>changeip.com</option>
		<option class="content_input_fd" value="default@dnsexit.com" <% nvram_match("ddns_server_x", "default@dnsexit.com","selected"); %>>dnsexit.com</option>
		<option class="content_input_fd" value="default@dnsomatic.com" <% nvram_match("ddns_server_x", "default@dnsomatic.com","selected"); %>>dnsomatic.com</option>
		<option class="content_input_fd" value="default@dyndns.org" <% nvram_match("ddns_server_x", "default@dyndns.org","selected"); %>>dyndns.org</option>
		<option class="content_input_fd" value="default@dynsip.org" <% nvram_match("ddns_server_x", "default@dynsip.org","selected"); %>>dynsip.org</option>
		<option class="content_input_fd" value="default@easydns.com" <% nvram_match("ddns_server_x", "default@easydns.com","selected"); %>>easydns.com</option>
		<option class="content_input_fd" value="default@freedns.afraid.org" <% nvram_match("ddns_server_x", "default@freedns.afraid.org","selected"); %>>freedns.afraid.org</option>
		<option class="content_input_fd" value="dyndns@he.net" <% nvram_match("ddns_server_x", "dyndns@he.net","selected"); %>>dns.he.net</option>
		<option class="content_input_fd" value="ipv6tb@he.net" <% nvram_match("ddns_server_x", "ipv6tb@he.net","selected"); %>>tunnelbroker.net</option>
		<option class="content_input_fd" value="default@no-ip.com" <% nvram_match("ddns_server_x", "default@no-ip.com","selected"); %>>no-ip.com</option>
		<option class="content_input_fd" value="default@sitelutions.com" <% nvram_match("ddns_server_x", "default@sitelutions.com","selected"); %>>sitelutions.com</option>
		<option class="content_input_fd" value="default@tzo.com" <% nvram_match("ddns_server_x", "default@tzo.com","selected"); %>>tzo.com</option>
		<option class="content_input_fd" value="default@zoneedit.com" <% nvram_match("ddns_server_x", "default@zoneedit.com","selected"); %>>zoneedit.com</option>
		</select>
		<a href="javascript:openLink('x_DDNSServer')" class="content_input_link" name="x_DDNSServer_link">Register
             </a></td>
</tr>
<tr>
<td class="content_header_td" title="Enter your login for Dynamic DNS service.">Login:
           </td><td class="content_input_td"><input type="text" maxlength="32" class="content_input_fd" size="32" name="ddns_username_x" value="<% nvram_get("ddns_username_x"); %>" onKeyPress="return is_string(event, this)" onBlur="validate_string(this)" /></td>
</tr>
<tr>
<td class="content_header_td" title="Enter your password for Dynamic DNS service.">Password:
           </td><td class="content_input_td"><input type="password" maxlength="64" class="content_input_fd" size="32" name="ddns_passwd_x" value="<% nvram_get("ddns_passwd_x"); %>" onBlur="validate_string(this)" /></td>
</tr>
<tr>
<td class="content_header_td" title="Enter your domain name.">Domain name:
           </td><td class="content_input_td"><input type="text" maxlength="128" class="content_input_fd" size="32" name="ddns_hostname_x" value="<% nvram_get("ddns_hostname_x"); %>" onKeyPress="return is_string(event, this)" onBlur="validate_string(this)" /></td>
</tr>
<tr>
<td class="content_header_td" title="This field determines if domain name with wildcard is also redirected to your ip address.">Enable wildcard?
           </td><td class="content_input_td"><input type="radio" value="1" name="ddns_wildcard_x" class="content_input_fd" onClick="return change_common_radio(this, 'LANHostConfig', 'ddns_wildcard_x', '1')" <% nvram_match("ddns_wildcard_x", "1", "checked"); %>>Yes</input><input type="radio" value="0" name="ddns_wildcard_x" class="content_input_fd" onClick="return change_common_radio(this, 'LANHostConfig', 'ddns_wildcard_x', '0')" <% nvram_match("ddns_wildcard_x", "0", "checked"); %>>No</input></td>
</tr>
<tr>
<td class="content_header_td" title="This button allows you to update DDNS database manually.">Update manually:
           </td><td class="content_input_td"><input type="submit" maxlength="15" class="content_input_button" onClick="return onSubmitApply('ddnsclient')" size="12" name="LANHostConfig_x_DDNSStatus_button" value="Update" /></td>
</tr>
</table>

<% include("footer_buttons.inc"); %>

</form>
</body>
</html>
